:host {
    width: 100%;
}

.markmap,
.markmap * {
    font-family: inherit !important;
    font-weight: normal !important;
}

.ui-markmap {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.ui-markmap .ui-markmap-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ui-markmap-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ui-markmap-loading .loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 2px solid #6648ea;
    border-radius: 50%;
    border-top-color: #e0daff;
    animation: loading-turn 1s infinite linear;
}

@keyframes loading-turn {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.ui-markmap-empty {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    font-size: 16px;
    color: #808080;
    font-weight: 300;
}

.ui-hide {
    display: none !important;
}